from exe_sql import *
def query(query:int):
    print(f"Query: #{query}")
    print(execute_sql(f"./queries/q{query}.sql", is_fetch=True))
    print()

if __name__ == "__main__":
    import sys
    quiries = int(sys.argv[1]) if sys.argc > 1  else 2
    for i in range(1,quiries):
        query(i)